package com.pz.cloud.framework.business.glory.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.pz.cloud.framework.base.model.WorkflowEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import java.util.Date;
import java.util.List;

@Data
@TableName("glory_apply")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="荣誉申请", description="荣誉申请")
public class GloryApply extends WorkflowEntity {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty(value = "申报奖项")
    @Dict(dicCode = "honor_list")
    private String glory;

    @ApiModelProperty(value = "学期")
    @Excel(name = "学期", width = 15)
    private String period;//学期

    @ApiModelProperty(value = "第一学期GPA")
    @Excel(name = "第一学期GPA", width = 15)
    private Double gpaA;

    @ApiModelProperty(value = "第二学期GPA")
    @Excel(name = "第二学期GPA", width = 15)
    private Double gpaB;

    @ApiModelProperty(value = "第一学期综合测评排名")
    @Excel(name = "第一学期综合测评排名", width = 15)
    private Double evaluatioRankingA;

    @ApiModelProperty(value = "第二学期综合测评排名")
    @Excel(name = "第二学期综合测评排名", width = 15)
    private Double evaluatioRankingB;

    @ApiModelProperty(value = "个人总结")
    private String personalSummary;

    @ApiModelProperty(value = "获奖情况")
    private String awards;

    @ApiModelProperty(value = "姓名")
    @Excel(name = "姓名", width = 15)
    private String name;

    @ApiModelProperty(value = "性别")
    @Excel(name = "性别", width = 15)
    @Dict(dicCode = "sex")
    private Integer sex;

    @ApiModelProperty(value = "学号")
    @Excel(name = "学号", width = 15)
    private String stdNo;

    @ApiModelProperty(value = "所属学院")
    @Excel(name = "所属学院", width = 15)
    private String college;

    @ApiModelProperty(value = "专业")
    @Excel(name = "专业", width = 15)
    private String major;

    @ApiModelProperty(value = "班级")
    @Excel(name = "班级", width = 15)
    private String clazz;

    /**政治面貌*/
    @Excel(name = "政治面貌", width = 15, dicCode = "political_outlook")
    @Dict(dicCode = "political_outlook")
    @ApiModelProperty(value = "政治面貌")
    private String politicalStatus;

    @ApiModelProperty(value = "所担任的职务")
    @Excel(name = "所担任的职务", width = 15)
    private String post;

    @ApiModelProperty(value = "指导老师",required = true)
    @Excel(name = "指导老师", width = 15)
    private String instructor;

    @ApiModelProperty(value = "指导老师id",required = true)
    private String instructorId;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id",required = true)
    private String userId;


}
